package com.jboost.modules.app.dto;

import lombok.Data;

import java.util.List;
import java.util.Map;

@Data
public class MoodytigerNoiceDto {
    /**
     * formName : 到期提醒
     * _id : 5b237267b22ab14884086cc9
     * appId : 64e1f2d0d8b6100009e88053
     * entryId : 6503df0a0bc0010008e9ae6a
     * creator : {"name":"Peter","username":"peter","status":1,"type":0}
     * updater : {"name":"Peter","username":"peter","status":1,"type":0}
     * deleter : {"name":"Peter","username":"peter","status":1,"type":0}
     * createTime : 2018-01-01T10:10:10.000Z
     * updateTime : 2018-01-01T10:10:10.000Z
     * deleteTime : 2018-01-01T10:10:10.000Z
     * flowState : 0
     * notice : Peter
     * member : [{"name":"Peter","username":"peter","status":1,"type":0},{"name":"Maria","username":"maria","status":-1,"type":0}]
     */

    private String formName;
    private String _id;
    private String appId;
    private String entryId;
    private String createTime;
    private String updateTime;
    private String deleteTime;
    private int flowState;
    private Map<String,Object> notice;
    private Map<String,Object> member;
    @Data
    public static class MemberBean {
        /**
         * name : Peter
         * username : peter
         * status : 1
         * type : 0
         */

        private Map<String,Object> name;
        private Map<String,Object> username;
        private Map<String,Object> status;
        private Map<String,Object> type;
    }
}
